home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 038a / qbtree55.zip / XDBF1.TXT < prev   
Text File  |  1991-07-31  |  2KB  |  48 lines

  1. XDBF1.EXE is a program similar to XBTREE1.BAS. It operates on the same raw
  2. data file, XDATA1.DAT, and produces similar output. The main difference is
  3. the speed and index file size, and dBASE data file compatibility. XDBF1.EXE
  4. uses a high-performance reindexing algorithm that is included with the QBXDBF
  5. package.
  6.  
  7. If you want QBXDBF and dBASE compatibility then you need to order QBTree
  8. with the QBXDBF option. See the !ORDER.FRM for ordering information.
  9.  
  10. XDBF1.EXE was compiled with BC 7.1 and linked with QBXDBFAN.LIB. The file
  11. is not compressed in any manner--89453 is the total size (all the routines
  12. of QBXDBF were linked into the EXE file). PKLITE or another compression
  13. program such as LZEXE would bring the size down to around 49K.
  14.  
  15. XDBF1.EXE will create two files, CATALOG.DBF and CATALOG.DBX. Make sure
  16. that you are not using those filenames in the current directory because
  17. they will be erased.
  18.  
  19. To run the program make sure XDATA1.DAT is in the current directory and
  20.  
  21.         C>xdbf1
  22.  
  23. The program, like XBTREE1.BAS, processes the data file, XDATA1.DAT. This
  24. data file is an edited portion (2048 records) of a 100,000 record data file
  25. of marine parts. It reads the data file one record at a time and writes that
  26. record to the CATALOG.DBF file. When all records from XDATA1.DAT have been
  27. read and written, the index file CATALOG.DBX is built. Once built, all keys
  28. in it are accessed, in PARTNO index order. This shows the raw access speed of
  29. an index access. The program then displays all records in PARTNO index order
  30. to the screen.
  31.  
  32. As in most instances, the imported file is already sorted. However, their
  33. is no requirement that it be that way--QBXDBF will operate just as well
  34. on unsorted data records.
  35.  
  36. Options:
  37.  
  38. For incremental indexing (like QBTree), use /i.
  39.  
  40.         C>xdbf1 /i
  41.  
  42. To test delete/pack/reindex where every other record is deleted, then the
  43. data file 'packed', then reindexed, use /dp.
  44.  
  45.         C>xdbf1 /dp
  46.  
  47. <EOF>
  48.